.home {
    width: 1024px;
    position: relative;
    overflow: hidden;
    background-color: #C1B8FF;

    .header {
        width: 100%;
        height: 769px;
        background: url(../img/result/header2.png)top center no-repeat;
        background-size: 100% 100%;
        position: relative;
    }

    .center {
        padding-bottom: 100px;
        // position: relative;

        .tab {
            display: flex;
            align-items: center;
            width: 90%;
            justify-content: center;
            margin: 0 auto;

            li {
                height: 76px;
                cursor: pointer;
                user-select: none;

                &:first-child {
                    width: 269px;
                    background: url(../img/result/tab1.png)top center no-repeat;
                    background-size: 100% 100%;

                    &.active {
                        background: url(../img/result/tab1_a.png)top center no-repeat;
                        background-size: 100% 100%;
                    }
                }

                &:nth-child(2) {
                    width: 249px;
                    background: url(../img/result/tab2.png)top center no-repeat;
                    background-size: 100% 100%;
                    height: 75px;

                    &.active {
                        background: url(../img/result/tab2_a.png)top center no-repeat;
                        background-size: 100% 100%;
                    }
                }

                &:nth-child(3) {
                    width: 267px;
                    background: url(../img/result/tab3.png)top center no-repeat;
                    background-size: 100% 100%;

                    &.active {
                        background: url(../img/result/tab3_a.png)top center no-repeat;
                        background-size: 100% 100%;
                    }
                }
            }
        }

        .or-container {
            display: flex;
            box-sizing: border-box;
            align-items: center;
            justify-content: center;
            width: 926px;
            height: 568px;
            background: url(../img/result/anchorBg.png)top center no-repeat;
            background-size: 100% 100%;
            margin: 80px auto 0;
        }

        // .or-container:before {
        //     background-color: rgba(0, 0, 0, 0.4);
        // }

        .box {
            overflow: hidden;
            transition: .5s;
            // line-height: 0;
            width: 64px;
            height: 460px;
            background: #D5D0F9;
            border: 2px solid #FFFF91;
            border-radius: 23px;
            cursor: pointer;

            .info {
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: space-around;

                .rank {
                    width: 34px;
                    height: 34px;
                    background: #A89FE9;
                    border-radius: 50%;
                    font-size: 24px;
                    line-height: 34px;
                    text-align: center;
                    font-weight: 600;
                    color: #FFFFFF;
                }

                img {
                    width: 44px;
                    height: 44px;
                    background: #C1B8FF;
                    border: 2px solid #FFFFFF;
                    border-radius: 50%;
                    transition: .5s;
                    -o-object-fit: cover;
                    object-fit: cover;
                }

                .name {
                    height: 220px;
                    writing-mode: tb-rl;
                    line-height: 62px;
                    font-size: 18px;
                    font-family: PingFangSC;
                    font-weight: 600;
                    color: #7868E7;

                    span {
                        letter-spacing: 3px;
                        width: 100%;
                        &:nth-child(2) {
                            color: #7e6fe8;
                            font-weight: normal;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            overflow: hidden;
                        }
                    }
                }

                .add {
                    width: 26px;
                    height: 26px;
                    background: url(../img/result/add.png)top center no-repeat;
                    background-size: 100% 100%;
                }
            }

            .info2 {
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;

                img {
                    width: 240px;
                    height: 315px;
                    transition: .5s;
                    -o-object-fit: cover;
                    object-fit: cover;
                }

                .anchorInfo {
                    // display: flex;
                    // flex-direction: column;
                    width: 90%;
                    margin-top: 10px;

                    span {
                        font-size: 18px;
                        color: #222222;
                        display: block;

                        &:first-child {
                            font-size: 22px;
                            font-weight: 600;
                            color: #7868E7;
                        }

                        &:nth-child(3) {
                            font-size: 16px;
                        }
                    }
                }

                .rank {
                    font-size: 50px;
                    font-weight: 600;
                    color: #7868E7;
                    text-align: right;
                    width: 90%;
                }
            }
        }

        .eleactive {
            width: 240px;
            background: url(../img/result/boxBg.png)top center no-repeat;
            background-size: 100% 100%;

            .info {
                display: none;
                transition: .5s;
            }
        }

        .userPart {
            width: 826px;
            height: 823px;
            padding: 100px 50px;
            background: url(../img/result/userBg.png)top center no-repeat;
            background-size: 100% 100%;
            margin: 80px auto 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;

            li {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin: 0 28px;

                div {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: relative;
                    width: 86px;
                    height: 86px;
                    background: url(../img/result/top4.png)top center no-repeat;
                    background-size: 100% 100%;

                    img {
                        width: 80px;
                        height: 80px;
                        border-radius: 50%;
                    }

                    span {
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        transform: translate(-50%, 0);
                        font-size: 16px;
                        font-family: eryaxindahei;
                        font-weight: 600;
                        color: #FFFFFF;
                        width: 53px;
                        height: 22px;
                        background: url(../img/result/rank4.png)top center no-repeat;
                        background-size: 100% 100%;
                        text-align: center;
                        line-height: 22px;
                    }
                }

                p {
                    width: 150px;
                    font-size: 18px;
                    font-family: PingFangSC;
                    font-weight: 500;
                    color: #121212;
                    text-align: center;
                    margin-top: 10px;
                }

                &:first-child,
                &:nth-child(2),
                &:nth-child(3) {
                    div {
                        img {
                            width: 90px;
                            height: 90px;
                            border-radius: 50%;
                        }

                        span {
                            bottom: 25px;
                        }
                    }
                }

                &:first-child {
                    margin: 0 300px;

                    div {
                        width: 212px;
                        height: 172px;
                        background: url(../img/result/top1.png)top center no-repeat;
                        background-size: 100% 100%;

                        span {
                            background: url(../img/result/rank1.png)top center no-repeat;
                            background-size: 100% 100%;
                        }
                    }
                }

                &:nth-child(2),
                &:nth-child(3) {
                    margin: 0 100px;
                }

                &:nth-child(2) {
                    div {
                        width: 200px;
                        height: 162px;
                        background: url(../img/result/top2.png)top center no-repeat;
                        background-size: 100% 100%;

                        span {
                            background: url(../img/result/rank2.png)top center no-repeat;
                            background-size: 100% 100%;
                        }
                    }
                }

                &:nth-child(3) {
                    div {
                        width: 197px;
                        height: 161px;
                        background: url(../img/result/top3.png)top center no-repeat;
                        background-size: 100% 100%;

                        span {
                            background: url(../img/result/rank3.png)top center no-repeat;
                            background-size: 100% 100%;
                        }
                    }
                }

                &:nth-child(4),
                &:nth-child(5),
                &:nth-child(6) {
                    margin: 0 62px
                }
            }
        }

        .guildBox {
            height: 721px;
            width: 928px;
            background: url(../img/result/guildBg.png)top center no-repeat;
            background-size: 100% 100%;

            .box {
                width: 80px;
                height: 600px;
                margin: 0 5px;

                &.eleactive {
                    width: 340px;
                    height: 600px;
                    background: url(../img/result/boxBg2.png)top center no-repeat;
                    background-size: 100% 100%;
                }

                .info {
                    .name {
                        line-height: 80px;
                    }
                }

                .info2 {
                    position: relative;

                    .rank {
                        position: absolute;
                        right: 20px;
                        top: 0;
                    }

                    .title {
                        font-size: 20px;
                        font-family: eryaxindahei;
                        font-weight: 600;
                        color: #7868E7;
                        width: 90%;
                        margin: 10px 0 0 10px;
                    }

                    .guildInfo{
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        margin-top: 10px;

                        img{
                            width: 60px;
                            height: 60px;
                            border: 2px solid #FFFFFF;
                            border-radius: 50%;
                        }

                        div{
                            .name{
                                font-size: 18px;
                                font-family: PingFangSC;
                                font-weight: 600;
                                color: #222222;
                                margin: 5px 0;
                                text-align: center;
                                display: inline-block;
                            }


                        }
                    }
                    .score{
                        width: 170px;
                        height: 20px;
                        background: #E5E8FF;
                        border-radius: 10px;
                        overflow: hidden;
                        display: flex;

                        span{
                            line-height: 20px;
                            text-align: center;

                            &:first-child{
                                width: 70px;
                                font-size: 14px;
                                color: #FFFFFF;
                                background-color: #b059f7;
                            }

                            &:nth-child(2){
                                flex: 1;
                                font-size: 16px;
                                color: #1C1C1C;
                            }
                        }
                    }
                    .cutLine{
                        width: 340px;
                        height: 32px;
                        background: url(../img/result/gongxian.png)top center no-repeat;
                        background-size: 100% 100%;
                        margin: 30px auto 10px;
                    }

                    .rankBox{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-wrap: wrap;
                        width: 340px;
                        height: 342px;
                        transition: .5s;

                        li{
                            width: 150px;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            margin: 20px 10px;

                            div{
                                width: 60px;
                                height: 60px;
                                background: #FFFFFF;
                                border: 2px solid #FF8DFE;
                                border-radius: 50%;
                                position: relative;

                                img{
                                    width: 100%;
                                    height: 100%;
                                    border-radius: 50%;
                                }

                                span{
                                    width: 38px;
                                    height: 29px;
                                    background: url(../img/result/guild1.png)top center no-repeat;
                                    background-size: 100% 100%;
                                    position: absolute;
                                    display: block;
                                    top: -20px;
                                    left: 50%;
                                    transform: translate(-50%,0);
                                }
                            }

                            .name_id{
                                display: flex;
                                flex-direction: column;
                                width: 100%;

                                span{
                                    text-align: center;
                                    font-size: 14px;
                                    color: #222222;
                                    line-height: 22px;

                                    &:first-child{
                                        font-size: 16px;
                                        font-family: PingFangSC;
                                        font-weight: 600;
                                    }
                                }
                            }

                            .score{
                                width: 150px;
                                height: 18px;

                                span{
                                    line-height: 18px;
                                    font-size: 14px;
                                    &:first-child{
                                        font-size: 12px;
                                    }
                                }
                            }

                            &:first-child{
                                margin: 25px 40px;
                            }

                            &:nth-child(2){
                                div{
                                    span{
                                        background: url(../img/result/guild2.png)top center no-repeat;
                                        background-size: 100% 100%;
                                    }
                                }
                            }

                            &:nth-child(3){
                                div{
                                    span{
                                        background: url(../img/result/guild3.png)top center no-repeat;
                                        background-size: 100% 100%;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}